#  -*- coding:utf-8 -*- 
"""
@ author: 罗金盛
@ time: 2024/3/6 
@ file: 7.enumerate和zip函数.py

"""
# 循环时候计数 enumerate（index）

# li=['xjb','xjb2','xjb3']
#
# for num,item in enumerate(li):
#     print(num+1,item)

# 多个序列打包循环  zip
li=[1,2,3,4]
li2=[4,5,6,7]
li3=[4,5,6,7]

for i,j,z in zip(li,li2,li3):
    print(i,j,z)